package com.hospital.vac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.vac.entity.Vaccine;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @description 疫苗信息数据访问层
 * @return
 * @author ANLGIN
 * @since 2023/3/9 17:09
 */

public interface VaccineMapper extends BaseMapper<Vaccine> {
    /**
    * 根据用户id查询
    */
    List<Vaccine> findByUserId(@Param("userId") Integer userId);
}
